using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NewAndong.Entity;
using NewAndong.Model;
using Leeder.Service;
using Leeder.Repository;

namespace NewAndong.Service
{
    /// <summary>
    /// 
    /// </summary>
   public class MaterialDirectionService : BaseService<MaterialDirectionModel>
   {
        /// <summary>
        /// 关联实体类型
        /// </summary>
        protected override Type RefEntityType { get { return typeof(MaterialDirectionEntity); } }


        /// <summary>
        /// 更新工程的数量
        /// </summary>
        /// <param name="where">sql</param>
        /// <returns></returns>
        public int UpdateNum(string sql)
        {
            return RF<MaterialDirectionEntity>.ExecuteCommand(sql);
        }

    }
}